from django.conf.urls import url
from Ws import views

urlpatterns = [
    #url(r'^noticias/$', views.lista_noticias),
    #url(r'noticia/(?P<id>[0-9]+)/$', views.detalles_noticia),
    
    url(r'^noticias/$', views.ListaNoticias.as_view()),
    url(r'noticia/(?P<id>[0-9]+)/$', views.DetalleNoticia.as_view()),
]
